<?php

$galclass = new Gallery;

$_language->read_module('sc_potm');

$randomid = $galclass->randompic();
if($randomid) echo '<a href="gallery&amp;picID='.$randomid.'"><img src="images/gallery/thumb/'.$randomid.'.jpg" border="0" alt="'.$_language->module['random_picture'].'" /></a>';
?>
